package com.bjx.system.domain.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.Range;
import com.bjx.common.core.domain.group.Update;
import java.util.Date;

/**
 * @desc: 角色菜单关联BO实体
 * @author: liushuai
 * @date: 2022/10/14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "RoleMenuBO",description = "角色菜单关联BO实体")
public class RoleMenuBO  {
        /**
        * 角色菜单ID
        */
        @NotNull(message = "角色菜单ID不能为空",groups = Update.class)
        @Schema(title = "roleMenuId",description = "角色菜单ID")
        private  Long roleMenuId; 
        /**
        * 菜单ID
        */
        @NotNull(message = "菜单ID不能为空")
        @Schema(title = "menuId",description = "菜单ID")
        private  Long menuId; 
        /**
        * 角色ID
        */
        @NotNull(message = "角色ID不能为空")
        @Schema(title = "roleId",description = "角色ID")
        private  Long roleId; 
}